#! /usr/bin/env python
#coding=utf-8

class User(object):
    def __init__(self, name=None):
        self.name = name
        self.level = ''
        self.log = None
        self.config = None
        
    # 以下是一些无聊的方法
    
    def set_name(self, username):
        self.name = username
    
    def set_level(self, level='normal'):
        self.level = level
        
    def set_log(self, log):
        self.log = log
        
    def set_config(self, config):
        self.config = config
        
